<template>

</template>

<script>
import axios from 'axios';

const BASIC_SERVER="/basicserver";
const AUTH_SERVER="/authserver";
// 全局默认图片
const IMG_URL="https://zcl-test123.oss-cn-beijing.aliyuncs.com/798fddc17f2211eb973d6100d940b6cf/20220131/%E5%A5%B6%E8%8C%B6.jpg";
const YES_STATUS="1";//是
const NO_STATUS="0";//否
//功能枚举
const FUN_LOG_ENUM={
    LOGIN:"1",// "登录"
    LOGOUT:"2",// "注销"
    EMAIL:"3", //"站内信"
    PRD_DRAW:"4", //"商品透视图"
    INDEX:"5", //"首页"
    LOGIN_LOG:"6", //"登录日志"
    FUN_LOG:"7",// "功能日志"
    ROLE_MAN:"8", //"角色管理"
    USER_MAN:"9",// "用户管理"
    MENU_MAN:"10", //"菜单管理"
    PRODUCT_MANAGER:"11", //"商品管理"
    PRODUCT_SHOP:"12", //"商城"
    PRD_PRODUCE:"13", //"商品产量详情"
};
// 功能日志记录接口
function saveFunLog(functionId){
    axios.post(BASIC_SERVER+'/logController/saveFunLog.json', functionId).then(res => {
    });
}
export default {
    name: 'Global',
    BASIC_SERVER,
    AUTH_SERVER,
    IMG_URL,
    FUN_LOG_ENUM,
    saveFunLog
};
</script>

<style scoped>

</style>
